//
//  OwnerIntegralTableViewCell.m
//  GoodWayClient
//
//  Created by newhuidong on 16/1/4.
//  Copyright © 2016年 HuiDong. All rights reserved.
//

#import "OwnerIntegralTableViewCell.h"

@implementation OwnerIntegralTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
+(instancetype)OwnerIntegralWithTableView:(UITableView *)tableView{
    
    static NSString *identifer=@"cellID";
    OwnerIntegralTableViewCell*cell=[tableView dequeueReusableCellWithIdentifier:identifer];
    if (cell==nil) {
        
        cell=[[[NSBundle mainBundle]loadNibNamed:@"OwnerIntegralTableViewCell" owner:nil options:nil]lastObject];
        cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
        
    }
    return cell;
    
    
    
}
-(void)setDic:(NSDictionary *)dic{
    _dic=dic;
    
    self.buyServices.text=dic[@"buy"];
    self.achieveIntegrate.text=dic[@"jifen"];
    self.time.text=dic[@"time"];
    
    
    
    
}

@end
